package com.billing.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.billing.model.dao.ManagerPermissionsRelationshipMapper;
import com.billing.model.entity.TManagerPermissionsRelationship;
import com.billing.service.ManagerPermissionsRelationshipService;

@Service
public class ManagerPermissionsRelationshipServiceImpl implements
		ManagerPermissionsRelationshipService {

	@Resource
	private ManagerPermissionsRelationshipMapper managerPermissionsRelationshipMapper;
	
	@Override
	public int insertTManagerPermissionsRelationship(
			List<TManagerPermissionsRelationship> mprlist) {
		return managerPermissionsRelationshipMapper.insertTManagerPermissionsRelationship(mprlist);
	}

	@Override
	public int deleteTManagerPermissionsRelationship(int id) {
		return managerPermissionsRelationshipMapper.deleteTManagerPermissionsRelationship(id);
	}

}
